package com.hydra.wiki.graph.repo;

import com.hydra.wiki.graph.entity.Entity;
import org.springframework.data.neo4j.repository.GraphRepository;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Component;

@Component
public interface EntityRepo extends GraphRepository<Entity> {

    Entity getByName(@Param("name") String name);

}